<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="app" uri="/WEB-INF/tld/app.tld" %>
<%@ taglib prefix="ct" uri="/WEB-INF/tld/commonTag.tld" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> 
<%@ include file="/WEB-INF/jsp/common/common_header.jsp" %>
<%@ include file="/WEB-INF/jsp/common/common.jsp" %>


<script language="javascript">
    
	function funcDetail(num) {
		width = 960;
		height = 800;
		var user_id = $("#user_id").val();
	    x = (screen.width) ? (screen.width-width)/2 : 0;
	    y = (screen.height) ? (screen.height-height)/2 : 0;
	    var popUrl = 'popMinusListDetailInfo.do?user_id='+user_id;
	    var win =window.open(popUrl,'popMinusListDetailInfo', 'left=' + x + ',top=' + y + ',width=' + width + ',height=' + height + ',scrollbars=yes,status=no,menubar=no');
	    win.focus();
	}

        
</script>
</head>
<body>
<div class="con_area" style="width: 480px">
<form id="form" name="form" action="" >
<input type="hidden" id="user_id" name="user_id" value="${model.user_id}"/>
<br>
<br>
<table cellpadding="0" cellspacing="0" border="0" width="90%">
    <tr>
        <td align="left"><h2 class="tit">※ 대출잔액상세조회 </h2></td>
    </tr>
</table>
<br>
    <div style="margin-top:7px"/>
        <table cellpadding="0" cellspacing="0" border="0" class="data_table_01" width="80%">
            <tr style='height:30px;'>
                <td class="data_01" style='width:350px; text-align:center;'>&nbsp;즉시결제 잔액</td>
                <td class="data_02" align ='right'>0&nbsp;&nbsp;&nbsp;</td>
            </tr>       
            <tr style='height:30px;'>
                <td class="data_01" style='width:350px; text-align:center;'>&nbsp;긴급자금 잔액</td>
                <td class="data_02" align ='right'>
					<a href="javascript:funcDetail('20')" ><font color ="red"><u><fmt:formatNumber value="0" pattern="#,###" /></u></a></font>      
				&nbsp;&nbsp;	                
                </td>
            </tr>        
            <tr style='height:30px;'>
                <td class="data_01" style='width:350px; text-align:center;'>&nbsp;상계금</td>
                <td class="data_02" align ='right'>
					<a href="javascript:funcDetail('20')" ><font color ="red"><u><fmt:formatNumber value="0" pattern="#,###" /></u></a></font>      
				&nbsp;&nbsp;		
                </td>
            </tr>       
            <tr style='height:30px;'>
                <td class="data_01" style='width:350px; text-align:center;'>&nbsp;운영자금 잔액</td>
                <td class="data_02" align ='right'>
					<a href="javascript:funcDetail('20')" ><font color ="red"><u><fmt:formatNumber value="0" pattern="#,###" /></u></a></font>      
				&nbsp;&nbsp;	                
                </td>
            </tr>
            <tr style='height:30px;'>
                <td class="data_01" style='width:350px; text-align:center;'>&nbsp;마이너스 잔액</td>
                <td class="data_02" align ='right'>
					<a href="javascript:funcDetail('20')" ><font color ="red"><u><c:if test='${empty minusDetailInfo.totalProdAmt}'>0</c:if><c:if test='${not empty minusDetailInfo.totalProdAmt}'><fmt:formatNumber value="${minusDetailInfo.totalProdAmt}" pattern="#,###" /></c:if></u></a></font>      
				&nbsp;&nbsp;	        	        					          
                </td>
            </tr>       
            <tr style='height:30px;'>
                <td class="data_01" style='width:350px; text-align:center;'>&nbsp;유류 잔액</td>
                <td class="data_02" align ='right'>
					<a href="javascript:funcDetail('20')" ><font color ="red"><u><fmt:formatNumber value="0" pattern="#,###" /></u></a></font>      
				&nbsp;&nbsp;	                
                </td>
            </tr>
            <tr style='height:30px;'>
                <td class="data_01" style='width:350px; text-align:center;'>&nbsp;총 대출잔액 합계</td>
				<td class="data_02" align ='right'><font color ="blue"><b><c:if test='${empty minusDetailInfo.totalProdAmt}'>0</c:if><c:if test='${not empty minusDetailInfo.totalProdAmt}'><fmt:formatNumber value="${minusDetailInfo.totalProdAmt}" pattern="#,###" /></c:if></b></font>&nbsp;&nbsp;&nbsp;</td>
            </tr>                                                
        </table>        
	
<br>
</form>
</div>
</body>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
    <tr align="center">
        <td ><input type="button" class="button_63_01" value="닫기" style="width:65px; align=center" onclick="window.close();"/></td>
    </tr>
</table>

